﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
//using 

namespace WPFTrackerControl
{
	class TorrentUser : INotifyPropertyChanged
	{
		static readonly string UserNamePropertyName = "UserName";
		public event PropertyChangedEventHandler PropertyChanged;
		protected void RaisePropertyChanged (string propertyName)
		{
			if (PropertyChanged == null) return;
			PropertyChanged (this, new PropertyChangedEventArgs (propertyName));
		}
		private string _UserName;
		public string UserName
		{
			get
			{
				return _UserName;
			}
			set
			{
				if (_UserName != value)
				{
					_UserName = value;
					RaisePropertyChanged (UserNamePropertyName);
				}
			}
		}
	}
}
